<?php
    class indexController extends Model {
        public function init(){
           $this->m->addCSS("common")->addCSS("main_pretzel");
           $this->m->addJS("mainpage");
        }
        
        public function indexAction(){
            $this->m->_template="index";
        }
         function testAction(){
         /*   $this->disableTemplate();
            $this->disableView();
          
          $status=$this->m->_auth->ajaxLogin("/","sfasf@fsaasd.com","asdfgh");
          p($status);
           p($this->m->_user->id);
           p($this->m->islogin());*/
             
        }
        
    }
?>